<div class="sidebar sidebar-hide-to-small sidebar-shrink sidebar-gestures">
    <div class="nano">
        <div class="nano-content">
            <ul>
                <li><a href="/admin/Index"><i class="ti-home"></i> 数据概览</a></li>

                {in name="$Think.cookie.admin_id" value="1"}
                <li>
                    <a class="sidebar-sub-toggle"><i class="ti-layout-grid4-alt"></i> 后台栏目管理 <span class="sidebar-collapse-icon ti-angle-down"></span></a>
                    <ul>
                        <li><a href="/admin/Menu">栏目列表</a></li>
                    </ul>
                </li>
                <li><a href="/admin/AdminUser"><i class="ti-github"></i> 后台管理员</a></li>
                {/in}
                {volist name='topMenu' id='vo'}
                {if condition="!empty($vo['secondMenu'])"}
                <li>
                    <a class="sidebar-sub-toggle"><i class="{$vo.icon}"></i> {$vo.name} <span class="sidebar-collapse-icon ti-angle-down"></span></a>
                    <ul>
                        {volist name='vo.secondMenu' id='vi'}
                        <li><a href="/admin/{$vi.class}">{$vi.name}</a></li>
                        {/volist}
                    </ul>
                </li>
                {else /}
                <li><a href=""><i class="{$vo.icon}"></i> {$vo.name}</a></li>
                {/if}

                {/volist}
                <!--<li><a href="/admin/loginOut"><i class="ti-close"></i> Logout</a></li>-->
            </ul>
        </div>
    </div>
</div>